<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="webwork" prefix="s" %>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
.field-error, .field-error ul, .field-error li, .action-error, .action-error ul, .action-error li, .action-message, .action-message ul, .action-message li {display:inline;}
.field-error li, action-error li {list-style:none;color:red;}
.action-message li {list-style:none;}
</style>
</head>
<body>
<s:actionerror/>
<s:actionmessage/>
<form action="contactSave.do">
<s:token/>
<s:hidden name="contact.id" />
用户:<s:textfield name="contact.userId" /><s:fielderror><s:param>contact.userId</s:param></s:fielderror><br>
邮箱:<s:textfield name="contact.email" /><s:fielderror><s:param>contact.email</s:param></s:fielderror><br>
<input type="submit" value="保存" />
</form>
</body>
</html>